package com.zbf.tspring.web;

import com.zbf.tspring.entity.TestOk;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: LCG
 * 作者: LCG
 * 日期: 2021/3/22  14:52
 * 描述:
 */

@RestController
public class TestTiaoJIanController {

    @Autowired(required = false)
    TestOk testOk;

    @RequestMapping("test001")
    public void test001(){

        System.out.println(testOk.getTest());

    }


    public void test00(){



    }

}
